package com.panorama.visitor.test_nodes;

import java.util.List;

import com.panorama.visitor.annotation.Visitable;

public class RootNode extends AbstractNode {
	
	@Visitable
	private ChildNode child;
	
	@Visitable
	private List<ChildNode> children;
	
	public RootNode() {
		
	}
	
	public RootNode(String name) {
		super(name);
	}
	
	/**
	 * @return the child
	 */
	public ChildNode getChild() {
		return child;
	}
	/**
	 * @param child the child to set
	 */
	public void setChild(ChildNode child) {
		this.child = child;
	}
	/**
	 * @return the children
	 */
	public List<ChildNode> getChildren() {
		return children;
	}
	/**
	 * @param children the children to set
	 */
	public void setChildren(List<ChildNode> children) {
		this.children = children;
	}

}
